#include "Quaternion.h"

using namespace Math;

Quaternion::Quaternion(float angle, const Vector& v)
{
	_angle=angle;
	_direction=v;
}

float Quaternion::angle()
{
	return _angle;
}

Vector* Quaternion::direction()
{
	return &_direction;
}

void Quaternion::setAngle(float a)
{
	_angle=a;
}

void Quaternion::setDirection(const Vector& d)
{
	_direction=d;
}
